package com.veepeak.server.repository;

import com.veepeak.server.common.BaseRepository;
import com.veepeak.server.domain.UserVehicle;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserVehicleRepository extends BaseRepository<UserVehicle,String> {
    UserVehicle getByUserIdAndVehicleId(String userId, String vehicleId);

    List<UserVehicle> findByUserId(String userId);
}
